package com.zt.bus.sms.service;

import com.zt.bus.sms.inter.SmsLogMapper;
import com.zt.bus.sms.model.SmsLog;
import com.zt.system.service.BaseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by Administrator on 2017/7/5.
 */
@Service
public class SmsLogService extends BaseService {

    @Autowired
    private SmsLogMapper smsLogMapper;

    public void insert(SmsLog smsLog) {
        smsLog.setId(intIncrementId("DZ_SMS_LOG","ID"));
        smsLogMapper.insert(smsLog);
    }

}
